MailPoet\Services\AuthorizedSenderDomainController A

Total Complexity 54
Dependencies 9
Dependents 11
Total lines 323
Lines of code 182
Logical lines of code 96
Comment lines 55
Methods 29
Properties 7

Methods 29

Method Rating Maintainability Complexity Lines of code
verifyAuthorizedSenderDomain()
S
55 5 19
createAuthorizedSenderDomain()
S
60 4 13
restrictionsApply()
S
65 4 9
getAllRawData()
S
62 3 12
isNewUser()
S
63 3 11
getSenderDomainsGroupedByStatus()
S
63 3 11
getUnverifiedSenderDomains()
S
75 2 4
getDomainRecords()
S
69 2 7
extractDomains()
S
69 2 7
getFullyOrPartiallyVerifiedSenderDomains()
S
74 2 4
getFullyVerifiedSenderDomains()
S
75 2 4
getPartiallyVerifiedSenderDomains()
S
75 2 4
getAllRecords()
S
71 2 6
isAuthorizedDomainRequiredForNewCampaigns()
S
79 2 3
isAuthorizedDomainRequiredForExistingCampaigns()
S
79 2 3
getContextData()
S
60 1 14
isBigSender()
S
80 1 3
isSmallSender()
S
80 1 3
__construct()
S
69 1 7
domainExtractor()
S
79 1 3
isEnforcementOfNewRestrictionsInEffect()
S
79 1 3
reloadCache()
S
72 1 5
returnAllDomains()
S
76 1 4
getSenderDomainsByStatus()
S
72 1 5
getRewrittenEmailAddress()
S
78 1 3
getVerifiedSenderDomainsIgnoringCache()
S
77 1 4
getVerifiedSenderDomains()
S
80 1 3
getAllSenderDomains()
S
80 1 3
getContextDataForAutomations()
S
73 1 5